package com.wondertek.poms.transform.xmlvo;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p><b>SyncRequest Description:</b> 同步请求xml需要转的对象</p>
 * @author douzi
 * <b>DATE</b> 2020年3月3日 下午2:47:45
 * eg:
	<?xml version="1.0" encoding="UTF-8"?>
    <CMS>
        <AccessID><![CDATA[189]]></AccessID>
        <AccessSEQ><![CDATA[1000012015031315114323900239]]></AccessSEQ>
        <AccessPwd><![CDATA[D022646351048AC0BA397D12DFAFA304]]></AccessPwd>
        <AccessPlatformType><![CDATA[189]]></AccessPlatformType>
        <AccessPlatformID><![CDATA[189]]></AccessPlatformID>
        <Version>1.0</Version>
        <SvcCont>
                <ContentID><![CDATA[1500061874]]></ContentID>
                <CPID><![CDATA[8000033]]></CPID>
                <BasePath><![CDATA[/zhengshi/1500/061/874]]></BasePath>
                <EnableType><![CDATA[7]]></EnableType>
                <OprCode><![CDATA[4]]></OprCode>
                <OprTime><![CDATA[20200706141900]]></OprTime>
                <Priority><![CDATA[0]]></Priority>
                <ServType><![CDATA[01]]></ServType>
                <NeedBC><![CDATA[0]]></NeedBC>
                <distResult><![CDATA[1]]></distResult>
                <updateFields><![CDATA[0]]></updateFields>
        </SvcCont>
    </CMS>
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JacksonXmlRootElement(localName ="CMS")
public class SyncRequest implements Serializable {
	/**
	 * <b>Fields</b> serialVersionUID : 
	 */
	private static final long serialVersionUID = 4604315738211384168L;
	
	@JacksonXmlProperty(localName = "AccessID")
	private String accessID;
    @JacksonXmlProperty(localName = "AccessSEQ")
    private String	accessSeq;
    @JacksonXmlProperty(localName = "AccessPwd")
    private String	accessPwd;
    @JacksonXmlProperty(localName = "AccessPlatformType")
    private String	accessPlatformType;
    @JacksonXmlProperty(localName = "AccessPlatformID")
    private String	accessPlatformID;
    @JacksonXmlProperty(localName = "Version")
    private String	version;
	@JacksonXmlProperty(localName = "SvcCont")
	private SvcCont svcCont;
	
//	@JacksonXmlElementWrapper(localName ="DisPlayFileLists")
//	@JacksonXmlProperty(localName = "DisPlayFile")
//	private List<DisplayFileFromXml> contentList;
	
	// 媒资id 冗余字段
	private String assetId;
	
	// 去重key 冗余字段
	private String md5Key;
}
